﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace brand.admin.cyt369.com.services.Models
{
    /// <summary>
    /// 品牌扩展表
    /// </summary>
    [Table("TB_BrandExtension")]
    public class BrandExtension
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 品牌id
        /// </summary>
        public int BrandID {  get; set; }

        /// <summary>
        /// 品牌详情
        /// </summary>
        public string? BrandDetails {  get; set; }

        /// <summary>
        /// 加盟优势
        /// </summary>
        public string? FranchiseAdvantages {  get; set; }

        /// <summary>
        /// 加盟条件
        /// </summary>
        public string? FranchiseConditions { get; set; }

        /// <summary>
        /// 加盟流程
        /// </summary>
        public string? FranchiseProcess {  get; set; }

        [JsonIgnore]
        /// <summary>
        ///  品牌表-扩展表 
        /// </summary>
        public Brand? Brand { get; set; }
    }
}
